html,
body{
    margin:0;
    padding:0;
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    font-family:Arial,sans-serif;
    color:white;
    background-color:black;
}

body{
    background:
    linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.7)
    ),
    url("Image/back2-1.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
}

/* =========================
LOGO
========================= */

.logo {
    position: fixed;
    top: 30px;  
    left: 40px; 
    z-index: 1000;
    transition: top 0.4s ease;
}

.logo img {
    width: 80px; 
    height: auto;
}

/* =========================
NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    padding: 6px 10px; 
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: top 0.4s ease;
}

.menu {
    display: flex;
    gap: 10px;  
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    padding: 10px 18px;  
    border-radius: 40px;
    position: relative; 
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu a::before {
    content: '';
    position: absolute;
    inset:0;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 40px; 
}

.menu a:hover::before {
    opacity: 0.7; 
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6),
    inset 0 0 10px rgba(255,255,255,0.1);
}

.menu .active {
    background: #B0B0B0;
    color: black;
    transform: scale(1.17);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* =========================
CUSTOMER SECTION
========================= */

.customer-section{
    width:100%;
    min-height:100vh;
    padding:150px 0 120px;
    box-sizing:border-box;
}

.review-card{
    width:780px;
    max-width:86%;
    margin:20px auto 55px;
    padding:20px;
    border-radius:38px;
    background:rgba(255,255,255,0.13);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,0.2);
    box-shadow:0 18px 45px rgba(0,0,0,0.45);
    box-sizing:border-box;
}

.review-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.review-user{
    display:flex;
    align-items:center;
    gap:20px;
}

.avatar{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.review-user h3{
    margin:0;
    font-size:20px;
}

.review-rating{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:22px;
    color:#ffb800;
}

.review-rating span{
    color:white;
    font-size:16px;
}

.review-text{
    padding:22px 28px;
    border-radius:24px;
    background:rgba(255,255,255,0.15);
    border:1px solid rgba(255,255,255,0.2);
}

.review-text p{
    margin:0;
    font-size:16px;
    line-height:1.7;
}

.review-image{
    margin-top:20px;
}

.review-image img{
    width:100%;
    border-radius:20px;
    object-fit:cover;
    max-height:400px;
    border:1px solid rgba(255,255,255,0.15);
}

/* =========================
VIEW MORE
========================= */

.view-more-wrap{
    width:780px;
    max-width:86%;
    margin:-10px auto 120px;
    display:flex;
    justify-content:flex-end;
}

.view-more-btn{
    text-decoration:none;
    padding:12px 34px;
    border-radius:14px;
    background:#b8d8f5;
    color:black;
    transition:0.3s ease;
}

.view-more-btn:hover{
    background:white;
    transform:translateY(-3px);
}

/* =========================
COMMENT BOX
========================= */

.comment-box{
    width:780px;
    max-width:86%;
    margin:0 auto;
    padding:40px 45px;
    border-radius:40px;
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
    border:1px solid rgba(255,255,255,0.2);
    box-shadow:0 18px 45px rgba(0,0,0,0.45);
    box-sizing:border-box;
}

.comment-box h2{
    font-size:30px;
    margin:0 0 20px;
}

.comment-line{
    width:100%;
    height:1px;
    background:rgba(255,255,255,0.6);
    margin-bottom:28px;
}

.comment-form{
    display:grid;
    grid-template-columns:1fr 1.6fr;
    gap:35px;
    align-items:stretch;
}

.upload-column,
.form-right{
    display:flex;
    flex-direction:column;
}

.upload-label,
.form-right label{
    margin-bottom:10px;
    font-size:13px;
}

.upload-area{
    flex:1;
    min-height:310px;
    background:rgba(255,255,255,0.8);
    color:black;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:20px;
    box-sizing:border-box;
}

.upload-area p{
    font-size:24px;
    margin-bottom:24px;
}

.upload-btn{
    border:none;
    padding:10px 40px;
    border-radius:8px;
    background:#777;
    color:white;
    cursor:pointer;
    transition:0.3s ease;
}

.upload-btn:hover{
    background:#555;
}

#previewImage,
#previewVideo{
    width:100%;
    max-height:220px;
    object-fit:cover;
    border-radius:12px;
    display:none;
    margin-top:15px;
}

.form-right textarea{
    width:100%;
    height:160px;
    padding:16px;
    border:none;
    border-radius:12px;
    resize:none;
    box-sizing:border-box;
    font-size:15px;
}

.rate-box{
    margin-top:auto;
}

.stars-box{
    margin-top:12px;
    padding:16px 20px;
    border-radius:10px;
    background:rgba(255,255,255,0.85);
    color:black;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.star-rating{
    direction:rtl;
    display:flex;
    gap:6px;
}

.star-rating input{
    display:none;
}

.star-rating label{
    font-size:40px;
    color:#999;
    cursor:pointer;
    transition:0.2s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label{
    color:#ffb800;
}

.submit-btn{
    width:100%;
    margin-top:30px;
    padding:14px;
    border:none;
    border-radius:10px;
    background:#31577c;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:0.3s ease;
}

.submit-btn:hover{
    background:#4575a3;
}

/* =========================
BACK TO TOP
========================= */

#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border:none;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.25);
}

.footer {
    padding: 60px 40px 20px;
    background: black;
    z-index: 5;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.footer-logo { width: 19%; }
.footer-location { width: 30%; }
.footer-contact { width: 20%; }
.footer-social { width: 17%; }

.footer-logo img {
    width: 200px;
    cursor: pointer;
}

.footer-location h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-location p {
    line-height: 1.3;
    font-size: 13px;
}

.map-links a {
    color: #ccc;
    text-decoration: none;
}

.map-links a:hover {
    color: red;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 13px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    z-index: 10;
    transition: 0.3s;
}

.social-icons img {
    width: 28px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.social-icons a:hover img {
    filter: grayscale(0%);
}

.social-icons a:hover {
    color: #00ffcc;
}

.footer-location,
.footer-contact {
    position: relative;
}

.footer-location::after,
.footer-contact::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid #444;
    margin-bottom: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: #aaa;
}

@media (max-width:1024px){

    body{
        background-attachment:scroll;
    }

    .logo{
        top:22px;
        left:24px;
    }

    .logo img{
        width:68px;
    }

    .navbar{
        top:22px;
        left:110px;
        right:24px;

        overflow-x:auto;
        overflow-y:hidden;

        padding:8px 10px;

        scrollbar-width:none;
    }

    .navbar::-webkit-scrollbar{
        display:none;
    }

    .menu{
        flex-wrap:nowrap;
        white-space:nowrap;
    }

    .menu a{
        flex-shrink:0;
        font-size:13px;
        padding:9px 14px;
    }

    .menu .active{
        transform:scale(1.06);
    }

    .customer-section{
        padding:130px 20px 90px;
    }

    .comment-form{
        grid-template-columns:1fr;
    }

    .footer{
        padding:60px 30px 20px;
    }

    .footer-container{
        flex-wrap:wrap;
        justify-content:center;
        gap:40px;
    }

    .footer-section{
        width:40% !important;
        padding:0;
    }

    .footer-location::after,
    .footer-contact::after{
        display:none;
    }

    .social-icons{
        align-items:center;
    }
}

@media (max-width:768px){

    body{
        background-attachment:scroll;
        background-position:center top;
        background-size:cover;
    }

    .logo{
        top:16px;
        left:16px;
    }

    .logo img{
        width:54px;
    }

    .navbar{
        top:14px;
        left:82px;
        right:12px;

        overflow-x:auto;
        overflow-y:hidden;

        padding:7px 9px;

        scrollbar-width:none;
    }

    .navbar::-webkit-scrollbar{
        display:none;
    }

    .menu{
        flex-wrap:nowrap;
        white-space:nowrap;
        gap:7px;
    }

    .menu a{
        flex-shrink:0;
        font-size:11px;
        padding:8px 12px;
    }

    .menu .active{
        transform:scale(1.03);
    }

    .customer-section{
        padding:105px 14px 70px;
    }

    .review-card{
        max-width:100%;
        padding:18px;
        border-radius:26px;
        margin-bottom:35px;
    }

    .review-top{
        flex-direction:column;
        align-items:flex-start;
    }

    .review-user{
        gap:14px;
    }

    .avatar{
        width:42px;
        height:42px;
    }

    .review-user h3{
        font-size:17px;
    }

    .review-rating{
        font-size:18px;
    }

    .review-rating span{
        font-size:13px;
    }

    .review-text{
        padding:18px;
        border-radius:18px;
    }

    .review-text p{
        font-size:14px;
        line-height:1.8;
    }

    .review-image img{
        border-radius:16px;
        max-height:250px;
    }

    .view-more-wrap{
        max-width:100%;
        margin:0 auto 70px;
        justify-content:center;
    }

    .view-more-btn{
        width:100%;
        text-align:center;
    }

    .comment-box{
        max-width:100%;
        padding:24px 18px;
        border-radius:28px;
    }

    .comment-box h2{
        font-size:24px;
    }

    .comment-form{
        display:flex;
        flex-direction:column;
        gap:24px;
    }

    .upload-area{
        min-height:240px;
    }

    .upload-area p{
        font-size:18px;
        text-align:center;
    }

    .upload-btn{
        width:100%;
        padding:12px;
        font-size:14px;
    }

    .form-right textarea{
        height:130px;
        padding:14px;
        font-size:14px;
    }

    .stars-box{
        flex-direction:column;
        align-items:flex-start;
        gap:14px;
    }

    .star-rating label{
        font-size:32px;
    }

    .submit-btn{
        margin-top:22px;
        padding:13px;
        font-size:15px;
    }

    #backToTop{
        width:44px;
        height:44px;
        right:18px;
        bottom:20px;
    }

    .footer{
        padding:50px 22px 20px;
    }

    .footer-container{
        flex-direction:column;
        align-items:center;
        gap:35px;
    }

    .footer-section{
        width:100% !important;
        padding:0;
    }

    .footer-logo img{
        width:140px;
    }

    .footer-location::after,
    .footer-contact::after{
        display:none;
    }

    .footer-location h3,
    .footer-contact h3,
    .footer-social h3{
        font-size:14px;
    }

    .footer-location p,
    .footer-contact p{
        font-size:12px;
        line-height:1.6;
    }

    .social-icons{
        align-items:center;
    }

    .social-icons a{
        font-size:13px;
    }

    .social-icons img{
        width:24px;
    }

    .footer-bottom{
        margin-top:30px;
    }

    .footer-bottom p{
        font-size:12px;
    }
}